package com.cskaoyan.Day23;

import java.net.DatagramSocket;
import java.net.SocketException;

public class SecondClient {

    public static void main(String[] args) throws SocketException {
        DatagramSocket datagramSocket = new DatagramSocket(9999);
        new Thread(new SendTask(datagramSocket, "255.255.255.255", 8888)).start();
        new Thread(new ReceiveTask(datagramSocket)).start();
    }
}
